import Vue from 'vue'
import App from './App.vue'
import router from './router'

// echarts && element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Echarts from 'echarts';
Vue.use(ElementUI);
Vue.use(Echarts);
Vue.prototype.echarts = Echarts;

// request api
import api from './utils/reqApi';
import url from './utils/url';
Vue.prototype.$url = url;
Vue.prototype.Request = api;

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
